package poler.control.events
{
	import com.adobe.cairngorm.control.CairngormEvent;
	

	public class CreateEvent extends CairngormEvent
	{
		
		public static const EVENT_CREATE:String = "CreateEvent";
		public var Context:Array;
		public var Callback:Function;
		public var CustomErrorString:String
		 
		public function CreateEvent(context:Array,callback:Function = null, errorString:String = null)
		{
				this.Context = context;
				this.Callback = callback;
				this.CustomErrorString = errorString;
				trace('CreateEvent: '+context.toString());
				super(CreateEvent.EVENT_CREATE);
		}
		
	}
}